package com.qd.panda.dc.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 充电站信息
 *
 * @author sjk
 */
@Data
@Accessors(chain = true)
@ToString
public class ChargeStationDTO {
    private String address;
    @JsonProperty("parkingId")
    private String parkId;
    private String areaCode;
    @JsonProperty("busineHours")
    private String busineHours;
    private Integer construction;
    private String countryCode;
    private String createdAt;
    private String electricityFee;
    private String matchCars;
    private String parkFee;
    private Integer parkNums;
    private String pictures;
    private String serviceFee;
    private String serviceTel;
    private String stationId;
    private BigDecimal stationLat;
    private BigDecimal stationLng;
    private String stationName;
    private Integer stationStatus;
    private Integer stationType;
    private Integer supportOrder;
    /**
     * 运营商类型，0-蔚来，1-国网，2-特来电
     */
    private Integer type;
    private String updatedAt;

    public void freeData() {
        this.parkId = null;
        this.address = null;
        this.areaCode = null;
        this.busineHours = null;
        this.construction = null;
        this.countryCode = null;
        this.createdAt = null;
        this.electricityFee = null;
        this.matchCars = null;
        this.parkFee = null;
        this.parkNums = null;
        this.pictures = null;
        this.serviceFee = null;
        this.serviceTel = null;
        this.stationId = null;
        this.stationLat = null;
        this.stationLng = null;
        this.stationName = null;
        this.stationStatus = null;
        this.stationType = null;
        this.supportOrder = null;
        this.type = null;
        this.updatedAt = null;
    }
}